package com.hmall.user.controller;

import io.swagger.annotations.Api;
import lombok.RequiredArgsConstructor;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.time.LocalDateTime;

/**
 * @author chanchaw
 * @create 2025-08-04 15:07
 */
@Api(tags = "用户服务中的Test接口")
@RestController
@RequestMapping("/usertest")
@RequiredArgsConstructor
public class TestController {
    @GetMapping("/now")
    public LocalDateTime now(){
        return LocalDateTime.now();
    }
}
